udp.init("<Port>")
Used to initialize the specified port in order to send and receive UDP data.
Parameters
<Port>
Specify the port for initialization.
Return Value
On successful execution the specified port is initialized, otherwise an error message is returned in $error.
Remark
Init() should be called only once.
Example
-
udp.init(3500)
- Initializes the port 3500.